<?php

namespace Superadmin\Model;

class Video {

    public $videoId;
    public $videoTitle;
    public $videoIframe;
    public $videoimg;
    public $videoDescription;
    public $videodate;
    public $cateId;
    public $cateName;

    public function axchangeArray($data) {
        $this->videoId = (isset($data["videoId"])) ? $data["videoId"] : null;
        $this->videoTitle = (isset($data["videoTitle"])) ? $data["videoTitle"] : null;
        $this->videoIframe = (isset($data["videoIframe"])) ? $data["videoIframe"] : null;
        $this->videoimg = (isset($data["videoimg"])) ? $data["videoimg"] : null;
        $this->videoDescription = (isset($data["videoDescription"])) ? $data["videoDescription"] : null;
        $this->videodate = (isset($data["videodate"])) ? $data["videodate"] : null;
        $this->cateId = (isset($data["cateId"])) ? $data["cateId"] : null;
        $this->cateName = (isset($data["cateName"])) ? $data["cateName"] : null;
    }

}
